package com.qf.ge.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
    * 退款跟踪表
    */
@TableName(value = "dts_refund_trace")
public class DtsRefundTrace {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单表的订单ID
     */
    @TableField(value = "order_id")
    private Integer orderId;

    /**
     * 订单编号
     */
    @TableField(value = "order_sn")
    private String orderSn;

    /**
     * 审批状态：0 退款申请 1 退款审批通过 2 退款审批拒绝 3 退款完成
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 退款原因
     */
    @TableField(value = "refund_reason")
    private String refundReason;

    /**
     * 是否含有图片
     */
    @TableField(value = "has_picture")
    private Boolean hasPicture;

    /**
     * 退款质量图片地址列表 采用JSON数组格式
     */
    @TableField(value = "pic_urls")
    private String picUrls;

    /**
     * 创建时间,即退款申请时间
     */
    @TableField(value = "add_time")
    private Date addTime;

    /**
     * 审批内容
     */
    @TableField(value = "approve_msg")
    private String approveMsg;

    /**
     * 审批时间
     */
    @TableField(value = "approve_time")
    private Date approveTime;

    /**
     * 退款物流内容
     */
    @TableField(value = "freight_msg")
    private String freightMsg;

    /**
     * 退款时间
     */
    @TableField(value = "refund_time")
    private Date refundTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableField(value = "deleted")
    private Boolean deleted;

    public static final String COL_ID = "id";

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_ORDER_SN = "order_sn";

    public static final String COL_STATUS = "status";

    public static final String COL_REFUND_REASON = "refund_reason";

    public static final String COL_HAS_PICTURE = "has_picture";

    public static final String COL_PIC_URLS = "pic_urls";

    public static final String COL_ADD_TIME = "add_time";

    public static final String COL_APPROVE_MSG = "approve_msg";

    public static final String COL_APPROVE_TIME = "approve_time";

    public static final String COL_FREIGHT_MSG = "freight_msg";

    public static final String COL_REFUND_TIME = "refund_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_DELETED = "deleted";

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取订单表的订单ID
     *
     * @return order_id - 订单表的订单ID
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置订单表的订单ID
     *
     * @param orderId 订单表的订单ID
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取订单编号
     *
     * @return order_sn - 订单编号
     */
    public String getOrderSn() {
        return orderSn;
    }

    /**
     * 设置订单编号
     *
     * @param orderSn 订单编号
     */
    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    /**
     * 获取审批状态：0 退款申请 1 退款审批通过 2 退款审批拒绝 3 退款完成
     *
     * @return status - 审批状态：0 退款申请 1 退款审批通过 2 退款审批拒绝 3 退款完成
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置审批状态：0 退款申请 1 退款审批通过 2 退款审批拒绝 3 退款完成
     *
     * @param status 审批状态：0 退款申请 1 退款审批通过 2 退款审批拒绝 3 退款完成
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取退款原因
     *
     * @return refund_reason - 退款原因
     */
    public String getRefundReason() {
        return refundReason;
    }

    /**
     * 设置退款原因
     *
     * @param refundReason 退款原因
     */
    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    /**
     * 获取是否含有图片
     *
     * @return has_picture - 是否含有图片
     */
    public Boolean getHasPicture() {
        return hasPicture;
    }

    /**
     * 设置是否含有图片
     *
     * @param hasPicture 是否含有图片
     */
    public void setHasPicture(Boolean hasPicture) {
        this.hasPicture = hasPicture;
    }

    /**
     * 获取退款质量图片地址列表 采用JSON数组格式
     *
     * @return pic_urls - 退款质量图片地址列表 采用JSON数组格式
     */
    public String getPicUrls() {
        return picUrls;
    }

    /**
     * 设置退款质量图片地址列表 采用JSON数组格式
     *
     * @param picUrls 退款质量图片地址列表 采用JSON数组格式
     */
    public void setPicUrls(String picUrls) {
        this.picUrls = picUrls;
    }

    /**
     * 获取创建时间,即退款申请时间
     *
     * @return add_time - 创建时间,即退款申请时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置创建时间,即退款申请时间
     *
     * @param addTime 创建时间,即退款申请时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取审批内容
     *
     * @return approve_msg - 审批内容
     */
    public String getApproveMsg() {
        return approveMsg;
    }

    /**
     * 设置审批内容
     *
     * @param approveMsg 审批内容
     */
    public void setApproveMsg(String approveMsg) {
        this.approveMsg = approveMsg;
    }

    /**
     * 获取审批时间
     *
     * @return approve_time - 审批时间
     */
    public Date getApproveTime() {
        return approveTime;
    }

    /**
     * 设置审批时间
     *
     * @param approveTime 审批时间
     */
    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    /**
     * 获取退款物流内容
     *
     * @return freight_msg - 退款物流内容
     */
    public String getFreightMsg() {
        return freightMsg;
    }

    /**
     * 设置退款物流内容
     *
     * @param freightMsg 退款物流内容
     */
    public void setFreightMsg(String freightMsg) {
        this.freightMsg = freightMsg;
    }

    /**
     * 获取退款时间
     *
     * @return refund_time - 退款时间
     */
    public Date getRefundTime() {
        return refundTime;
    }

    /**
     * 设置退款时间
     *
     * @param refundTime 退款时间
     */
    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取逻辑删除
     *
     * @return deleted - 逻辑删除
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * 设置逻辑删除
     *
     * @param deleted 逻辑删除
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}